package com.ruoyi.yanjing.service;

import java.util.List;
import com.ruoyi.yanjing.domain.EmergencyTraining;

/**
 * 应急演练Service接口
 * 
 * @author whz
 * @date 2024-12-06
 */
public interface IEmergencyTrainingService 
{
    /**
     * 查询应急演练
     * 
     * @param id 应急演练主键
     * @return 应急演练
     */
    public EmergencyTraining selectEmergencyTrainingById(Long id);

    /**
     * 查询应急演练列表
     * 
     * @param emergencyTraining 应急演练
     * @return 应急演练集合
     */
    public List<EmergencyTraining> selectEmergencyTrainingList(EmergencyTraining emergencyTraining);

    /**
     * 新增应急演练
     * 
     * @param emergencyTraining 应急演练
     * @return 结果
     */
    public int insertEmergencyTraining(EmergencyTraining emergencyTraining);

    /**
     * 修改应急演练
     * 
     * @param emergencyTraining 应急演练
     * @return 结果
     */
    public int updateEmergencyTraining(EmergencyTraining emergencyTraining);

    /**
     * 批量删除应急演练
     * 
     * @param ids 需要删除的应急演练主键集合
     * @return 结果
     */
    public int deleteEmergencyTrainingByIds(Long[] ids);

    /**
     * 删除应急演练信息
     * 
     * @param id 应急演练主键
     * @return 结果
     */
    public int deleteEmergencyTrainingById(Long id);
}
